<?php
namespace app\model;

class M_plugin
{
    //字段数据
    public static $fields=array();

    public static function getFields(){
        self::$fields["id"]=array(
            "type"=>"int",
        );
        self::$fields["disabled"]=array(
            "type"=>"int",
        );
        self::$fields["categoryId"]=array(
            "type"=>"int",
        );
        self::$fields["name"]=array(
            "type"=>"str",
        );
        self::$fields["pluginDir"]=array(
            "type"=>"str",
        );
        self::$fields["guid"]=array(
            "type"=>"str",
        );
        self::$fields["instructions"]=array(
            "type"=>"str",
        );
        self::$fields["desc"]=array(
            "type"=>"str",
        );
        self::$fields["downUrl"]=array(
            "type"=>"str",
        );
        return self::$fields;
    }
}